<template>
  <div id="app">
    <!-- 缓存所有组件 -->
    <keep-alive include="layoutIndex">
      <router-view />
    </keep-alive>
  </div>
</template>
<script>
export default {
  name: 'app'
}
</script>
<style lang="less"></style>
